<?php
$groups = v('groups');
?>
<div class="span3" style="background-color:#EEE">
	<h3>Welcome</h3>
	<div>
		<label>
			WeChat
		<label>
	</div>
</div>
<div class="span8" style="background-color:#EEE">
	<h3>Groups</h3>
	<div class="row-fluid">
		<div class="span2">
			ID
		</div>
		<div class="span3">
			Name
		</div>
		<div class="span7">
			count
		</div>
		<?php
		foreach(array_shift($groups) as $group)
		{
			render('[Snsfg]/Html/Snippet.Group.html', array('group' => $group));
		}
	?>
	</div>
	<!--
	<h3>Mass message - text</h3>
	<div class="row-fluid">
		<form id="post_form" method="post" action="<?php p(url('api/json/Account.postStatus')); ?>" >
		Message
			<textarea id="t_post_content" name="payload['content']"></textarea>
			<br>
			Group ID
			<input id="i_post_picture" type="text" name="payload['group_id']"/>
			<br>
			Message type
			<input id="i_post_picture" type="text" name="payload['msgtype']"/>
			<input id="efId" name="payload['efId']" type="hidden" value="<?php p($account->getEfId())?>" />
			<input id="state" name="payload['state']" type="hidden" value="<?php p($account->getUniverse())?>" />
			<input id="socialNetwork" name="payload['socialNetwork']" type="hidden" value="wechat" />
			<input type="submit" id="post" class="btn" />
		</form>
	</div>
	-->
</div>

